//
//  OrderConfigCell.m
//  com.modada.new
//
//  Created by ferver7 on 2019/5/10.
//  Copyright © 2019 ferver7. All rights reserved.
//

#import "OrderConfigCell.h"

@implementation OrderConfigCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.beiZhu.placeholderLabel.font = [UIFont systemFontOfSize:14];
    self.beiZhu.placeholder = @"选填,请和商家协商一致";
    self.beiZhu.backgroundColor = [UIColor AxcUI_colorWithHexCode:@"#ebebeb"];
    self.beiZhu.placeholderLabel.textAlignment = NSTextAlignmentLeft;
    self.beiZhu.placeholderFrame = CGRectMake(5, 5, mScreenWidth-40, 20);
    self.beiZhu.placeholderLabel.textColor = [UIColor AxcUI_colorWithHexCode:@"#B4B4B4"];
    self.beiZhu.font = [UIFont systemFontOfSize:14];
    self.beiZhu.maxLength = 100;
    self.beiZhu.wordNumLabel.hidden = YES;
    self.beiZhu.showsVerticalScrollIndicator = NO;
    self.beiZhu.layer.masksToBounds = YES;
    self.beiZhu.layer.cornerRadius = 5;
}
- (IBAction)youHuiAction:(id)sender {
    if (self.selYouHuiBlock) {
        self.selYouHuiBlock();
    }
}
- (IBAction)yunFeiAction:(id)sender {
    if (self.delegate) {
        [self.delegate yunfeiAction:self.path];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
